package com.augurit.gzcgwsp.rqqyjyxk.dao;

import org.hibernate.Session;
import org.springframework.stereotype.Repository;

import com.augurit.common.base.dao.BaseDao;
import com.augurit.gzcgwsp.rqqyjyxk.entity.YwRqQyjyxkFinalPzrqgyzdjb;

/**
 * 广州市燃气经营许可证许可审批------七、瓶装燃气供应站登记表
 * @author xgw
 *
 */
@Repository("pzrqgyDao")
public class YwRqQyjyxkFinalPzrqgyzdjbDao extends BaseDao<YwRqQyjyxkFinalPzrqgyzdjb, Long>{

    
    public Long saveEntity(YwRqQyjyxkFinalPzrqgyzdjb finalentity) {
        Session session=this.getSession();
        session.flush();
        session.clear();
        Long id=(Long) session.save(finalentity);
        return id;
    }

}
